//
//  YCAdapter.m
//  YCSchool
//
//  Created by yanglinxia on 16/4/26.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//

#import "YCAdapter.h"

@implementation YCAdapter

+ (void)performOtherBlock:(YCAdapterOtherBlock)otherBlock IPhone6Block:(YCAdapterIPhon6Block)iPhone6Block IPhone6pBlock:(YCAdapterIPhon6pBlock)iPhon6pBlock
{
    CGFloat height = [UIScreen mainScreen].bounds.size.height;
    if(height == 736.00) iPhon6pBlock();
    else if (height == 667.00) iPhone6Block();
    else otherBlock();
}

@end
